<?php

/**
 * JingYao-backend
 *
 * @link     https://gitee.com/wang-zhihui-release/jingyao-backend
 * @apiDocument https://gitee.com/wang-zhihui-release/jingyao-backend/wikis/
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class Grid.
 * @property int type
 * @property string administrator
 * @property string title
 * @property string party_administrator
 * @property string village_leader
 * @property string flow_administrator
 * @property string region_leader
 */
class Grid extends Model
{
    use HasFactory;
    use SoftDeletes;

    protected $fillable = [
        'type',
        'administrator',
        'title',
        'party_administrator',
        'village_leader',
        'flow_administrator',
        'region_leader',
    ];

    protected $casts = [
        'created_at' => 'date:Y-m-d H:i:s',
        'updated_at' => 'date:Y-m-d H:i:s',
    ];
}
